import { PartialType, PickType } from "@nestjs/mapped-types";
import CreateDto from "./create.dto";
import { IsNumber, Min } from "class-validator";

export default class UpdateDto extends PartialType(CreateDto) {
    @Min(1)
    @IsNumber()
    id:number
}